package com.chenbei.erp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chenbei.erp.domain.Batches;
import com.chenbei.erp.vo.req.BatchesReq;

public interface IBatchesService extends IService<Batches> {

    /**
     * 新增
     * @param batches 实例
     */
    void add(Batches batches);

    /**
     * 更新
     * @param batches 实例
     */
    void update(Batches batches);

    /**
     * 分页查询
     * @param batchesReq 查询实例
     * @return Page
     */
    Page<Batches> pageList(BatchesReq batchesReq);
}
